<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">

<polymer-element name="spa-polymer-blog">

  <template>
    <link rel="stylesheet" href="spa-polymer-blog.css">
    <core-scaffold id="core_scaffold">
      <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
        <core-toolbar id="core_toolbar">Dryam.ru</core-toolbar>
        <core-menu selected="0" selectedindex="0" id="core_menu">
          <core-submenu opened active id="core_submenu" icon="settings" label="Topics">
            <core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
            <core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
          </core-submenu>
          <core-submenu id="core_submenu1" icon="settings" label="Favorites">
            <core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
            <core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
            <core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
          </core-submenu>
        </core-menu>
      </core-header-panel>
      
        <paper-tabs selected="{{ selected }}" selected="0" tool noink flex>
          <paper-tab>Blog</paper-tab>
          <paper-tab>Portfolio</paper-tab>
          <paper-tab>Shop</paper-tab>
          <paper-tab>About</paper-tab>
        </paper-tabs>
      
       <div id="content" fit>
        <core-animated-pages selected="{{ selected }}" lastselected="0" selectedindex="1" notap id="core_animated_pages" fit>
          <section id="section_1">1</section>
          <section id="section_2">2</section>
          <section id="section_3">3</section>
          <section id="section_4">4</section>
          <section id="section_5">5</section>
        </core-animated-pages>
      </div>
      
    </core-scaffold>
  </template>

  <script>

    Polymer({

    });

  </script>

</polymer-element>
